package com.edu.study.base.wordAttributeDetail.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单词测试选项内容对象 edu_word_attribute_detail
 * 
 * @author zw
 * @date 2021-08-02
 */
@TableName("edu_word_attribute_detail")
public class WordAttributeDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 单词id */
    @Excel(name = "单词id")
    private String wordId;

    /** 单词选项内容类型 */
    @Excel(name = "单词选项内容类型")
    private String wordOptionType;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String optionContent;

    /** 选项排序 */
    @Excel(name = "选项排序")
    private Long sort;
    /** 是否为答案 */
    private String isAnswner;

    public String getIsAnswner() {
        return isAnswner;
    }

    public void setIsAnswner(String isAnswner) {
        this.isAnswner = isAnswner;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWordId(String wordId) 
    {
        this.wordId = wordId;
    }

    public String getWordId() 
    {
        return wordId;
    }
    public void setWordOptionType(String wordOptionType) 
    {
        this.wordOptionType = wordOptionType;
    }

    public String getWordOptionType() 
    {
        return wordOptionType;
    }
    public void setOptionContent(String optionContent) 
    {
        this.optionContent = optionContent;
    }

    public String getOptionContent() 
    {
        return optionContent;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wordId", getWordId())
            .append("wordOptionType", getWordOptionType())
            .append("optionContent", getOptionContent())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
